package com.varbal.icegame.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 水果 ---->测试注解注入值
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Fruit {
    /**
     * 品种
     * @return
     */
    String brand() default "";

    /**
     * 产地
     * @return
     */
    String address() default "";
}